package com.jiukuaidao.zhulin.api;

import com.jiukuaidao.library.net.ApiBaseParamAbstract;
import com.jiukuaidao.library.net.MyRetroCallBack;
import com.jiukuaidao.library.net.RootResult;
import com.jiukuaidao.zhulin.util.RetrofitUtil;

import retrofit2.Call;


/**
 * Author : H_Joker
 * Date : 2016/5/13
 * Description :
 */
public class ApiPostXX<T> extends ApiBaseParamAbstract {

    public ApiPostXX(String type, MyRetroCallBack<T> myRetroCallBack) {
        super(myRetroCallBack);
        mParams.put("type", type);
    }

    @Override
    public Call<RootResult> getCall() {
        return RetrofitUtil.getApiManager(mParams).postMethod(mParams);
    }
}
